-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test(e2e): TestBitcoinDepositRefund
, WithdrawBitcoinMultipleTimes
#2349
Conversation
DepositBTCRefund
, WithdrawBitcoinMultipleTimes
TestBitcoinDepositRefund
, WithdrawBitcoinMultipleTimes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We'll need to add the new test in cmd/zetae2e/local/local.go
to execute in CI
…into test/deposit-btc-refund
Need to run
Note: don't be surprised, this command takes 2 min because we run formatter in the entire codebase (we might want to find some optimization on this) |
…into test/deposit-btc-refund
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good, left some comments, please check before merge if they make sense
Description
This PR adds E2E tests for
TestBitcoinDepositRefund
andWithdrawBitcoinMultipleTimes
. It also introduces several improvements to testing suite:assert
andrequire
packages in e2e testing./e2e/scripts/debug.sh $test $args
./e2e/scripts/run.sh $test $args
utils.WaitCctxByInboundHash()
with some handy filtersCloses: #1469
Type of change
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Include instructions and any relevant details so others can reproduce.
Checklist: